Appends a linear gradient node with the given stops to @snapshot.
the rectangle to render the linear gradient into
the point at which the linear gradient will begin
the point at which the linear gradient will finish
the color stops defining the gradient
See Implementation
Appends a linear gradient node with the given stops to @snapshot.